.sidebar {
  --sidebar-width: auto;
  --sidebar-tab-padding: 16px;

  & {
    overflow: hidden;
    display: flex;
  }

  :global {
    .taroify-sidebar-tab {
      min-width: 152px;
      flex-shrink: 0;

      &--active::before {
        display: none;
      }

      &__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
    }
  }
}

.popup {
  --popup-background-color: var(--color-bg-grey);
}

.tab {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: var(--color-bg);

  &.active {
    color: var(--color-white);
    background-color: var(--color-primary);
  }
}
